package oo.day04;

public class Student extends Person {
    String studentId;

    public Student(String name, int age, String address, String studentId) {
        super(name, age, address);
        this.studentId = studentId;
    }

    @Override
    void sayhi() {
        System.out.println("大家好，我叫"+name+"今年"+age+"岁了，家住"+address+",我的学号为"+studentId);
    }
}
